package com.haixin.security.bean;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

@Data
public class Permission {

    @ApiModelProperty(value = "权限ID")
    private Integer id;

    @ApiModelProperty(value = "权限名称")
    private String name;

    @ApiModelProperty(value = "请求地址")
    private String url;

    @ApiModelProperty(value = "父权限主键")
    private Integer parentId;

    @ApiModelProperty(value = "权限类型，M-菜单，A-子菜单，U-普通请求")
    private String type;

    @ApiModelProperty(value = "权限字符串描述")
    private String permit;

    @ApiModelProperty(value = "描述")
    private String remark;
}
